from settings.secret import SecretConfig


class DefaultConfig(SecretConfig):
    '''
    默认配置项
    '''
    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:123@127.0.0.1:3306/renren_chong"
    SQLCHEMY_DATABASE_URI = ''
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_ECHO = True
    JSON_AS_ASCII = False
    SMS_TIME = 5    # 时间5分钟


class DevConfig(DefaultConfig):
    '''
    开发阶段的配置项
    '''
    # TODO 修改此处配置
    SECRET_KEY = "auzxhcuauauihduash"
